<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('单位详细')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <div class="row">
        <div class="col-sm-12">
            <a class="btn btn-warning" href="javascript:void(0)" onclick="tableStyle()">
                <i class="fa fa-search"></i> 表格样式
            </a>
        </div>
        <div class="col-sm-12">
            <div class="panel panel-info">
                <div class="panel-heading">
                    <i class="fa fa-info-circle"></i> 实有单位
                </div>

                <div class="panel-body">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">单位名称：</label>
                            <div class="form-control-static" th:text="${unit.dwmc}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">单位分类：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SQJW_FWSSZT',unit.gaglDwfl)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">实际名称：</label>
                            <div class="form-control-static" th:text="${unit.sjmc}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">单位英文名称：</label>
                            <div class="form-control-static" th:text="${unit.dwywmc}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">单位英文缩写：</label>
                            <div class="form-control-static" th:text="${unit.dwywsx}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">单位类型：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SQJW_DWLX_2',unit.dwlxdm)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">经济类型：</label>
                            <div class="form-control-static" th:text="${@dict.getValueByCode('SQJW_JJLX',unit.jjlxdm)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">行业类别：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SWJG_DWSSHY',unit.hylbdm)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">开业日期：</label>
                            <div class="form-control-static" th:text="${#dates.format(unit.kyrq,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">停业日期：</label>
                            <div class="form-control-static" th:text="${#dates.format(unit.tyrq01,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">主营：</label>
                            <div class="form-control-static" th:text="${unit.jyfwzy}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">兼营：</label>
                            <div class="form-control-static" th:text="${unit.jyfwjy}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">经营面积：</label>
                            <div class="form-control-static" th:text="${unit.jymjMjpfm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">经营方式：</label>
                            <div class="form-control-static" th:text="${unit.jyfs}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">是否有营业执照：</label>
                            <div class="form-control-static" th:text="${@dict.getValueByCode('SFZD_DQJC',unit.sfyyyzz)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">营业执照号：</label>
                            <div class="form-control-static" th:text="${unit.yyzzh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">营业执照起始日期：</label>
                            <div class="form-control-static" th:text="${#dates.format(unit.yyzzyxqQsrq,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">营业执照截止日期：</label>
                            <div class="form-control-static" th:text="${#dates.format(unit.yyzzyxqJzrq,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">注册资金万元：</label>
                            <div class="form-control-static" th:text="${unit.zczb}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">联系电话：</label>
                            <div class="form-control-static" th:text="${unit.lxdh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">省市县区：</label>
                            <div class="form-control-static" th:text="${unit.dwdzSsxqdm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">详细地址：</label>
                            <div class="form-control-static" th:text="${unit.dwdzQhnxxdz}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">网址：</label>
                            <div class="form-control-static" th:text="${unit.wz}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">法定代表人公民身份号码：</label>
                            <div class="form-control-static" th:text="${unit.fddbrGmsfhm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">法定代表人姓名：</label>
                            <div class="form-control-static" th:text="${unit.fddbrXm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">法定代表人证件种类：</label>
                            <div class="form-control-static" th:text="${@dict.getValueByCode('SQJW_ZJZL2',unit.fddbrCyzjdm)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">法定代表人证件号码：</label>
                            <div class="form-control-static" th:text="${unit.fddbrZjhm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">法定代表人外文姓：</label>
                            <div class="form-control-static" th:text="${unit.fddbrWwx}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">法定代表人外文名：</label>
                            <div class="form-control-static" th:text="${unit.fddbrWwm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">法定代表人联系电话：</label>
                            <div class="form-control-static" th:text="${unit.fddbrLxdh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">重点单位标识：</label>
                            <div class="form-control-static" th:text="${unit.zddwbs}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">单位管理级别：</label>
                            <div class="form-control-static" th:text="${unit.dwgljb}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">是否九小场所：</label>
                            <div class="form-control-static" th:text="${@dict.getValueByCode('SFZD_DQJC',unit.sfjxcs)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">公安机关名称：</label>
                            <div class="form-control-static" th:text="${unit.djdwGajgmc}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">登记人账号：</label>
                            <div class="form-control-static" th:text="${unit.djrZh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">登记人姓名：</label>
                            <div class="form-control-static" th:text="${unit.djrXm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">登记时间：</label>
                            <div class="form-control-static" th:text="${#dates.format(unit.djsj,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">更新账户：</label>
                            <div class="form-control-static" th:text="${unit.gxzh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">更新部门：</label>
                            <div class="form-control-static" th:text="${unit.gxbm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">所属市局：</label>
                            <div class="form-control-static" th:text="${unit.sssj}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">所属分县局：</label>
                            <div class="form-control-static" th:text="${unit.ssfxj}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">所属派出所：</label>
                            <div class="form-control-static" th:text="${unit.sspcs}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">所属责任区：</label>
                            <div class="form-control-static" th:text="${unit.sszrq}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">核录部门：</label>
                            <div class="form-control-static" th:text="${unit.hlbm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">核录时间：</label>
                            <div class="form-control-static" th:text="${#dates.format(unit.hlsj,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">核录人：</label>
                            <div class="form-control-static" th:text="${unit.hlr}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">核录标识：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('YBSS_HLBZ',unit.hlbz)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">最近检查合格标志：</label>
                            <div class="form-control-static" th:text="${unit.zjjchgbz}">
                            </div>
                        </div>
						<div class="form-group">
							<label class="col-sm-2 control-label">最近检查日期：</label>
							<div class="form-control-static" th:text="${#dates.format(unit.zjjcrq,'yyyy-MM-dd')}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">下次检查日期：</label>
							<div class="form-control-static" th:text="${#dates.format(unit.xcjcrq,'yyyy-MM-dd')}">
							</div>
						</div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">检查账户：</label>
                            <div class="form-control-static" th:text="${unit.jczh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">数据来源：</label>
							<div class="form-control-static"
								 th:text="${@dict.getValueByCode('YBSS_SJLY',unit.sjly)}">
							</div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">安全出入口通道数：</label>
                            <div class="form-control-static" th:text="${unit.aqcrktds}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">从业人员总数：</label>
                            <div class="form-control-static" th:text="${unit.cyryzs}">
                            </div>
                        </div>
						<div class="form-group">
							<label class="col-sm-2 control-label">经营状态：</label>
							<div class="form-control-static"
								 th:text="${@dict.getValueByCode('SQJW_JYZT',unit.jyzt)}">
							</div>
						</div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">主管单位：</label>
                            <div class="form-control-static" th:text="${unit.zgdw}">
                            </div>
                        </div>
						<div class="form-group">
							<label class="col-sm-2 control-label">公安机关备案时间：</label>
							<div class="form-control-static" th:text="${#dates.format(unit.gajgbasj,'yyyy-MM-dd')}">
							</div>
						</div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">三防设施情况：</label>
                            <div class="form-control-static" th:text="${unit.sfss}">
                            </div>
                        </div>
						<div class="form-group">
							<label class="col-sm-2 control-label">保卫负责人公民身份号码：</label>
							<div class="form-control-static" th:text="${unit.bwfzrGmsfhm}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">保卫负责人姓名：</label>
							<div class="form-control-static" th:text="${unit.bwfzrXm}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">保卫负责人联系电话：</label>
							<div class="form-control-static" th:text="${unit.bwfzrLxdh}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">互联网审核人：</label>
							<div class="form-control-static" th:text="${unit.hlwshr}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">互联网审核时间：</label>
							<div class="form-control-static" th:text="${#dates.format(unit.hlwshsj,'yyyy-MM-dd')}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">单位详细地址：</label>
							<div class="form-control-static" th:text="${unit.dwdz}">
							</div>
						</div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">标签：</label>
                            <div class="form-control-static"
                                 th:text="${@label.getParamValue(unit.bq)}">
                            </div>
                        </div>
						<div class="form-group">
							<label class="col-sm-2 control-label">注销时间：</label>
							<div class="form-control-static" th:text="${#dates.format(unit.zxsj,'yyyy-MM-dd')}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">注销账号：</label>
							<div class="form-control-static" th:text="${unit.zxzh}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">注销时间标志：</label>
							<div class="form-control-static" th:text="${unit.zxbz}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">审批人：</label>
							<div class="form-control-static" th:text="${unit.spr}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">审批时间：</label>
							<div class="form-control-static" th:text="${#dates.format(unit.spsj,'yyyy-MM-dd')}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">注销原因：</label>
							<div class="form-control-static" th:text="${unit.zxyy}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">注册地址_省市：</label>
							<div class="form-control-static" th:text="${unit.zcdzSsxqdm}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">注册地址_类行政区域：</label>
							<div class="form-control-static" th:text="${unit.zcdzLxzqydm}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">注册地址_详细地址：</label>
							<div class="form-control-static" th:text="${unit.zcdzQhnxxdz}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">注册地址_地址名称：</label>
							<div class="form-control-static" th:text="${unit.zcdzDzmc}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">网络检查_检查：</label>
							<div class="form-control-static" th:text="${unit.wljcZjjchgbz}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">网络检查_最近检查日期：</label>
							<div class="form-control-static" th:text="${#dates.format(unit.wljcZjjcrq,'yyyy-MM-dd')}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">网络检查_下次检查日期：</label>
							<div class="form-control-static" th:text="${#dates.format(unit.wljcXcjcrq,'yyyy-MM-dd')}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">消防检查_检查：</label>
							<div class="form-control-static" th:text="${unit.xfjcZjjchgbz}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">消防检查_最近检查日期：</label>
							<div class="form-control-static" th:text="${#dates.format(unit.xfjcZjjcrq,'yyyy-MM-dd')}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">消防检查_下次检查日期：</label>
							<div class="form-control-static" th:text="${#dates.format(unit.xfjcXcjcrq,'yyyy-MM-dd')}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">网络检查_检查账户：</label>
							<div class="form-control-static" th:text="${unit.wljcJczh}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">消防检查_检查账户：</label>
							<div class="form-control-static" th:text="${unit.xfjcJczh}">
							</div>
						</div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">是否重点：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SFZD_DQJC',unit.sfzd)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">是否定期检查：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SFZD_DQJC',unit.sfdqjc)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">检查周期(天)：</label>
                            <div class="form-control-static" th:text="${unit.jczq}">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div th:if="${staffs} ne null" class="row">
        <div class="col-sm-12">
            <div class="panel panel-info">
                <div class="panel-heading">
                    <i class="fa fa-info-circle"></i> 从业人员
                </div>

                <div class="panel-body">
                    <div th:each="staff : ${staffs}" class="col-sm-4">
                        <div class="panel panel-primary">
                            <div class="panel-heading" th:text="${staff.xm}"></div>
                            <div class="panel-body">
                                <div style="text-align: center;">
                                    <img th:src="(${staff.photo} == null) ? @{/res/img/profile.jpg} : '/sys/common/view/' + @{${staff.photo}}"
                                         style="height: 175px; width: auto;" alt="Staff Image">
                                </div>
                                <!--<p>身份号码：[[${staff.gmsfhm}]]</p>
                                <p>所在单位：[[${staff.dwmc}]]</p>
                                <p>职业：[[${#strings.defaultString(staff.zy, '-')}]]</p>
                                <p>类别：[[${#strings.defaultString(staff.zylbdm, '-')}]]</p>-->
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    var zagldwbm =[[${unit.zagldwbm}]];
    function tableStyle() {
        var options = {
            title: table.options.modalName + "信息表格样式",
            width: "600",
            height: "800",
            url: $.common.setURL("/control/unit/tableDetail/" + zagldwbm),
            skin: 'layui-layer-gray',
            btn: ['关闭'],
            yes: function (index, layero) {
                layer.close(index);
            }
        };
        $.modal.openOptions(options);
    }
</script>
</body>
</html>
